﻿@model NFine.Domain.Entity.SystemManage.UserEntity
@{
    ViewBag.Title = "MemberRecharge";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
    var keyValue = $.request("keyValue");
    //$(function () {
    //    if (!!keyValue) {
    //        $.ajax({
    //            url: "/SystemManage/User/GetFormJson",
    //            data: { keyValue: keyValue },
    //            dataType: "json",
    //            async: false,
    //            success: function (data) {
    //                $("#F_Account").val(data.F_Account);
    //                $("#F_RealName").val(data.F_RealName);
    //            }
    //        });
    //    }
    //});
    function submitForm() {
        if (!$('#form1').formValid()) {
            return false;
        }
        $.submitForm({
            url: "/SystemManage/User/Recharge",
            param: $("#form1").formSerialize(),
            success: function () {
                $.currentWindow().$("#gridList").trigger("reloadGrid");
            }
        })
    }
</script>
<form id="form1">
    <input id="F_Id" name="F_Id" type="hidden" value="@Model.F_Id" />
    <div style="margin-top: 10px; margin-left: 10px; margin-right: 10px;">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#">会员充值</a></li>
            @*<li ><a href="#">扩展信息</a></li>*@
        </ul>
        <div style="padding-top: 20px; margin-right: 30px;">
            <table class="form">
                <tr>
                    <th class="formTitle">会员账户</th>
                    <td class="formValue">
                        <input id="F_Account" name="F_Account" type="text" value="@Model.F_Account" class="form-control" readonly />
                    </td>
                    <th class="formTitle">会员姓名</th>
                    <td class="formValue">
                        <input id="F_RealName" name="F_RealName" type="text" value="@Model.F_RealName" class="form-control" readonly />
                    </td>
                </tr>
                <tr>
                    <th class="formTitle">充值金额</th>
                    <td class="formValue">
                        <input id="F_MemberMoney" name="F_MemberMoney" type="number" class="form-control required" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</form>

